<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="container">
        <div class="bt">Vue 3</div>
    </div>
</body>

</html>
<style>
    html,
    body {
        height: 100%;
    }

    body {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bt {
        height: 120px;
        width: 300px;
        text-align: center;
        line-height: 120px;
        background-color: #fbfbfb;
        border-radius: 5px;
        cursor: pointer;
        font-size: 24px;
        border: 1px solid #f1f1f1;
        transition: all .2s ease-in-out;
    }

    .bt:hover {
        /* 阴影X偏移量,Y偏移量,模糊半径,扩散半径,颜色 */
        box-shadow: 0 18px 32px -18px #000;
        transform: translateY(-3px);
    }
</style>